package com.test

import com.junitTest.RegexPackageFilterImpl
import junit.framework.TestCase

/**
 * RegexFilterTest--GroovyTest
 *
 * @author: Jovi
 *
 * @createTime: 2018-06-12 13:59
 *
 * */
class RegexFilterTest extends TestCase {

    void testSimpleRegex() {

        def fltr = new RegexPackageFilterImpl()

        fltr.setFilter("java.*")

        def val = fltr.applyFilter("java.lang.String")

        assertEquals("value should be true", true, val)

    }
}
